/**
 * @(#)IncomeInfoDAOImpl.java 2016年12月6日
 * Copyright(C) 2015 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.dao.impl;


import org.jsbd.boss.dao.IIncomeInfoDAO;
import org.jsbd.boss.domian.IncomeInfo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import edu.hziee.common.dbroute.BaseDAO;

/**
 * TODO 请加入本类的说明
 * @author <a href="mailto:zhangbinghua@zhexinit.com" >zbh</a>
 * @version 1.0.0
 */
public class IncomeInfoDAOImpl extends BaseDAO implements IIncomeInfoDAO {
	public static final Logger LOGGER = LoggerFactory.getLogger(IncomeInfoDAOImpl.class);

	@Override
	public IncomeInfo getIncomeInfo(IncomeInfo incomeInfo) {
		return (IncomeInfo) super.queryForObject("qy_channel_incomeInfo.GET_INFOBY_MARKDATE",incomeInfo);
	}

	@Override
	public Integer insertConfig(IncomeInfo incomeInfo) {
		return (Integer) super.insert("qy_channel_incomeInfo.INSERT_INCOMEINFO",incomeInfo);
	}
}
